package com.av.android;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;

public class GuestActivity extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_guest);
	}

	public void register(View v){
		startActivityForResult(new Intent(this, RegisterActivity.class),123);
	}
	public void searchViolations(View v){
		Intent i = new Intent(this, SearchActivity2.class);
		startActivity(i);
		
	}
	@Override
	protected void onActivityResult(int requestCode, int resultCode, Intent data) {

		if(requestCode==123)
			finish();
	}
}
